package com.hzvictory.hotel_system.pojo.entity;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
//import com.hzvictory.hotel_system.common.annotation.Excel;
import com.hzvictory.hotel_system.common.core.domain.BaseEntity;

/**
 * 菜品管理对象 dish
 *
 * @author hzvictory
 * @date 2025-07-24
 */
public class Dish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 菜品名称 */
    //@Excel(name = "菜品名称")
    private String name;

    /** 分类ID */
    //@Excel(name = "分类ID")
    private Long categoryId;

    /** 价格 */
    //@Excel(name = "价格")
    private BigDecimal price;

    /** 状态：1上架，0下架 */
    //@Excel(name = "状态：1上架，0下架")
    private Long status;

    /** 菜品描述 */
    //@Excel(name = "菜品描述")
    private String description;

    /** 菜品图片URL */
    //@Excel(name = "菜品图片URL")
    private String imageUrl;

    /** 是否推荐：1是，0否 */
    //@Excel(name = "是否推荐：1是，0否")
    private Long isRecommended;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }

    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }

    public void setIsRecommended(Long isRecommended)
    {
        this.isRecommended = isRecommended;
    }

    public Long getIsRecommended()
    {
        return isRecommended;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("categoryId", getCategoryId())
                .append("price", getPrice())
                .append("status", getStatus())
                .append("description", getDescription())
                .append("imageUrl", getImageUrl())
                .append("isRecommended", getIsRecommended())
                .toString();
    }
}
